package com.ctshk.rpc.order.tour.service;

import java.util.List;

import com.ctshk.common.dto.Result;
import com.ctshk.common.model.TokenUser;
import com.ctshk.rpc.order.tour.code.SeriesOrderTouristOtherFeeFeeTypeCode;
import com.ctshk.rpc.order.tour.req.SeriesOrderTouristOtherFeeAddReq;
import com.ctshk.rpc.order.tour.req.SeriesOrderTouristOtherFeeSaveBatchReq;
import com.ctshk.rpc.order.tour.req.SeriesOrderTouristOtherFeeSaveRefundReq;

/**
 * <p>
 * 系列团游客其他费用 服务类
 * </p>
 *
 * @author 谭响
 * @since 2021-01-22
 */
public interface ISeriesOrderTouristOtherFeeService {

    /**
     * 添加
     */
    Result add(SeriesOrderTouristOtherFeeAddReq req);

    /**
     * 保存批量
     */
    Boolean saveBatch(List<SeriesOrderTouristOtherFeeSaveBatchReq> listReq);
    
    /**
     * 更新旅客其他费用-退款
     */
    boolean saveRefund(SeriesOrderTouristOtherFeeSaveRefundReq req, TokenUser tokenUser);
    
    /**
     * 删除某旅客的其它费用
     * @param tourist
     * @param userId
     */
    void deleteCollectionByTourist(Long tourist, Long userId);
}
